import React, { memo } from 'react'
import { renderRoutes } from 'react-router-config'

import { TabMenus } from 'config/tabMenus'

import MainTabBar from './c-cpns/MainTabBar'




export default memo(function Home(props) {

  const { routes } = props.route

  return (
    <div className="home">
      {renderRoutes(routes)}
      <MainTabBar tabs={TabMenus} />
    </div>
  )
})

